// https://umijs.org/config/
import { defineConfig } from 'umi';

export default defineConfig({
  // plugins: [
  //   // https://github.com/zthxxx/react-dev-inspector
  //   'react-dev-inspector/plugins/umi/react-inspector',
  // ],
  // https://github.com/zthxxx/react-dev-inspector#inspector-loader-props
  // inspectorConfig: {
  //   exclude: [],
  //   babelPlugins: [],
  //   babelOptions: {},
  // },
  outputPath: 'dist/',
  publicPath: 'http://127.0.0.1:7003/',
  define: {
    PUBLIC_PATH: 'http://127.0.0.1:7003/',
    // CGDOMAIN: 'https://newtest.cgjoy.com',
    CGDOMAIN: '/api',
    WEBCGDOMAIN: 'https://www.cgjoy.com',
  },
});
